<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link href="/admin/styles/general.css" rel="stylesheet" type="text/css" />
	<link href="/admin/styles/main.css" rel="stylesheet" type="text/css" />

	<style type="text/css">
        #pull_right{
            text-align:center;
        }
        .pull-right {
            /*float: left!important;*/
        }
        .pagination {
            display: inline-block;
            padding-left: 0;
            margin: 20px 0;
            border-radius: 4px;
        }
        .pagination > li {
            display: inline;
        }
        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #428bca;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }
        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }
        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            color: #2a6496;
            background-color: #eee;
            border-color: #ddd;
        }
        .pagination > .active > a,
        .pagination > .active > span,
        .pagination > .active > a:hover,
        .pagination > .active > span:hover,
        .pagination > .active > a:focus,
        .pagination > .active > span:focus {
            z-index: 2;
            color: #fff;
            cursor: default;
            background-color: #428bca;
            border-color: #428bca;
        }
        .pagination > .disabled > span,
        .pagination > .disabled > span:hover,
        .pagination > .disabled > span:focus,
        .pagination > .disabled > a,
        .pagination > .disabled > a:hover,
        .pagination > .disabled > a:focus {
            color: #777;
            cursor: not-allowed;
            background-color: #fff;
            border-color: #ddd;
        }
        .clear{
            clear: both;
        }
    </style>
</head>
<body>
<h1>
	<span class="action-span"><a href="dianAdd">添加新店铺</a></span>
	<span class="action-span1"><a href="index.php?act=main">SHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 商品列表 </span>
	<div style="clear:both"></div>
</h1>

<div class="form-div">
  
</div>

<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">
  
	<div class="list-div" id="listDiv">
		<table cellpadding="3" cellspacing="1">
			<tbody>
				<tr>
					<th><input type="checkbox">编号</th>
					<th>店铺名称</th>
					<th>经营分类</th>
                    <th>联系人</th>
					<th>联系电话</th>
					<th>店铺logo</th>
                    <th>店铺地址</th>
                    <th>店铺区域</th>
                    <th>喜欢</th>
                    <th>操作</th>
				</tr>
				<?php foreach ($msg as $key=>$val){?>
				<tr>
					<td><?php echo $val->g_id; ?></td>
					<td><?php echo $val->g_name; ?></td>
					<td><?php echo $val->category_id; ?></td>
                    <td><?php echo $val->g_user; ?></td>
					<td><?php echo $val->g_tel; ?></td>
					<td><img src="<?php echo $val->g_logo ?> "width='50' height='50'/></td>
                    <td><?php echo $val->g_from; ?></td>
                    <td><?php echo $val->g_qu; ?></td>
                    <td><?php echo $val->g_dian; ?></td>
					<td>
						<a href="dian_del/<?php echo $val->g_id; ?>">删除</a>
						<a href="dianUp/<?php echo $val->g_id; ?>">修改</a>
					</td>
				</tr>
				<?php }  ?>
				
					
  </tbody>
 </table>


	
</div>


<div id="pull_right">
{!! $msg->render() !!}

</div>

<div id="footer">
	版权所有 &copy; 2006-2018 聚拓科技 - 项目组 - 
</div>

</body>
</html>